<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="common.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>财务管理平台</title>
<link href="${templeDir }/themes/css/login.css" rel="stylesheet" type="text/css" />
<script src="${templeDir }/js/jquery-1.4.4.js" type="text/javascript"></script>
<script src="${templeDir }/js/jquery.cookie.js" type="text/javascript"></script>
<script src="${templeDir }/js/jquery.validate.js" type="text/javascript"></script>
<script src="${templeDir }/js/jquery.bgiframe.js" type="text/javascript"></script>
</head>
<body>
	<div id="login">
		<div id="login_header">
			<h1 class="login_logo">
				<a href="#"><img src="${templeDir }/themes/default/images/4542155870_213x75.jpg" /></a>
			</h1>
			<div class="login_headerContent">
				<div class="navList">
					<ul>
						<li><a href="#">首页</a></li>
					</ul>
				</div>
				<h2 class="login_title"><img src="${templeDir }/themes/default/images/login_title.png" /></h2>
			</div>
		</div>
		<div id="login_content">
			<div class="loginForm">
				<form id="form1" action="<%=request.getContextPath() %>/login.do" method="post" >
				<input type="hidden" name="url" id="url" value="<%=request.getContextPath() %>/login.do">
					<p>
						<label>用户名：</label>
						<input type="text" id="username" name="username" size="20" class="login_input" />
					</p>
					<p>
						<label>密码：</label>
						<input type="password" id="password" name="password" size="20" class="login_input" />
					</p>
					<div class="login_bar">
						<input class="sub" type="button" onclick="javascript:login()" />
					</div>
				</form>
			</div>
			<div class="login_banner">
			<img src="${templeDir }/themes/default/images/bannerlesenfabntines2-950x270-1.jpg" /></div>
		</div>
		<div id="login_footer">
			Copyright &copy; 2009 www.dwzjs.com Inc. All Rights Reserved.
		</div>
	</div>
</body>
</html>
<SCRIPT language=javascript>
<!--
function login()
{    
	 var tName=$("#username");
	 var tPwd=$("#password");
	 var form1=$("#form1");
    if (tName.val()=="" )
    {
    	alert("请输入用户名!");
    	tName.focus();
    	return false;
   	}
    if (tPwd.val()=="" )
    {
    	alert("请输入密码!");
    	tPwd.focus();
    	return false;
   	}  	
		 form1.submit();
}

//-->
</script>